package io.lkt.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lkt.common.utils.PageUtils;
import io.lkt.modules.sys.entity.PythonArticleInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 文章信息表
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2019-03-23 16:55:35
 */
public interface PythonArticleInfoService extends IService<PythonArticleInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PythonArticleInfoEntity> queryList(Map<String, Object> map);

    Integer queryTotal(Map<String, Object> map);

    List<PythonArticleInfoEntity> byBrandName(Map<String,Object> map);

    PythonArticleInfoEntity getInfo(Integer id);

    Integer elseTotal(Map<String, Object> map);

    Integer upDel(Map<String, Object> map);

    Integer delById(Integer id);

    Integer noImportCount();

    Integer updateArticleThumbnail(Integer id,String articleThumbnail);

    Integer updateInfo(PythonArticleInfoEntity bArticleInfo);
}

